﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">系统维护</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">修改广告位</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>
                <li><a href="index.php?app=ad&act=index"  target="mainframe">广告位列表</a></li>	
				<li class="current"><a href="#" >修改广告位</a></li>	
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


<form action="?app=ad&act=editpost" method="post">

<table  class="data" >
<tbody>                                 
                                   
                               
                                   
                                   
                                   <tr >

	                                      <td >广告名称： (*)</td>
	                                      <td>
                                         <input type="text" name="data[name]" size="60" value="{$data.name}" id="title">

                                     </td>
                                   </tr>  
                                                            
                                   <tr >

	                                      <td >那个页面： (*)</td>
	                                      <td>
                                         <input type="text" name="data[demourl]" size="60" value="{$data.demourl}" id="title">

                                     </td>
                                   </tr>                                   
                                   
                                   <tr >
	                                      <td colspan="2">
        <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
          <tr> 
            <td width="18%">左边的图片源地址</td>
            <td width="82%">
             <input type="text" name="data[left][picurl]" size="40" value="{$data.left.picurl}" id="uppic1"><br/>
                    <iframe name='mainFrame2' frameborder=0 height=150 scrolling=no src='?app=ad&act=upfile&id={$id}&picurl={$data.left.picurl}&edit=editp&uppic=uppic1' width=370></iframe>             
            </td>
          </tr>
          <tr> 
            <td width="18%">左边的FLASH/图片链接地址</td>
            <td width="82%"> 
              <input type="text" name="data[left][url]" value="{$data.left.url}" size="50">
            </td>
          </tr>
          <tr> 
            <td width="18%">左边的FLASH/图片尺寸</td>
            <td width="82%">宽: 
              <input type="text" name="data[left][width]" value="{$data.left.width}" size="8">
              像素,高: 
              <input type="text" name="data[left][height]" value="{$data.left.height}" size="8">
              像素 </td>
          </tr>
          <tr> 
            <td width="18%">右边的FLASH/图片源地址</td>
            <td width="82%"> 
             <input type="text" name="data[right][picurl]" size="40" value="{$data.right.picurl}" id="uppic2"><br/>
                    <iframe name='mainFrame2' frameborder=0 height=150 scrolling=no src='?app=ad&act=upfile&id={$id}&picurl={$data.right.picurl}&edit=editp&uppic=uppic2' width=370></iframe> 
              
              </td>
          </tr>
           <tr> 
            <td width="18%">右边的FLASH/图片链接地址</td>
            <td width="82%"> 
              <input type="text" name="data[right][url]" value="{$data.right.url}" size="50">
            </td>
          </tr>
          <tr> 
            <td width="18%">右边的FLASH/图片尺寸</td>
            <td width="82%">宽: 
              <input type="text" name="data[right][width]" value="{$data.right.width}" size="8">
              像素,高: 
              <input type="text" name="data[right][height]" value="{$data.right.height}" size="8">
              像素 </td>
          </tr>         
          
          
        </table>                                          
                                          </td>
                                  </tr>                                   
                                   
                               
                                                                   
                               
  
              <SCRIPT LANGUAGE="JavaScript">
<!--

function upfile(url,b){
	document.getElementById(b).value=url;

}
//-->
</SCRIPT>                               


                                
                                <tr >
	                                     <td>&nbsp;</td>
	                                     <td><input name="id" type="hidden" value="{$id}" /><input type="submit" class="buton" value=" 提 交 " /></td>
                                </tr>
            </tbody>
        </table>
                                </form>	
	

        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span >必须要上传左边和右边广告的图片，前台才会显示，注意要开启这个功能的用户权限</span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->